﻿using EYCmsAdmin.Domain.Models;
using FluentNHibernate.Mapping;

namespace EYCmsAdmin.NHibernate
{
    public class StudyGroupInformationMap : ClassMap<StudyGroupInformation>
    {
        public StudyGroupInformationMap()
        {
            Id(x => x.Id).Not.Nullable().GeneratedBy.Identity();
            Map(x => x.Schedule).Length(255);
            Map(x => x.OtherInformation).Length(4001);
            Map(x => x.Meetings).Length(1024);
        }
    }
}

